package com.easygem.system.mapper;


import com.easygem.common.model.system.DeptClient;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Author 文晓平
 * @Date 2023/11/8 14:15
 * @Version 1.0
 **/
public interface DeptClientMapper extends Mapper<DeptClient> {

    List<DeptClient> selectAccountDept();

    Long getDeptIdByAccountName(@Param("accountName") String accountName);

    Long allDelete(@Param("ids")  List<Long> departmentAndChildrenIds);

    Long allUpdate(@Param("ids")  List<Long> departmentAndChildrenIds);

    int deleteInfoByUserStatus();

    int updateInfoByUserStatus();
}
